package com.spring.framework.aop.turing.EalyAopDemo;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

public class TulingLogInterceptor implements MethodInterceptor {
	@Override
	public Object invoke(MethodInvocation invocation) throws Throwable {
		System.out.println(getClass() + "调用方法前");
		Object ret = invocation.proceed();
		System.out.println(getClass() + "调用方法后");
		return ret;
	}

}
